package com.hbnu.system.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("zcfunds")
public class ZCfunds implements Serializable {

    /**
     * 主键 支出经费情况主键
     */
    @ApiModelProperty(value = "支出经费情况主键")
    @TableId(value = "zcfundsID", type = IdType.ASSIGN_ID)
    private String zcfundsID;



    /**
     * 支出日期
     */
    @ApiModelProperty(value = "支出日期")
    @TableField("zcfundsDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate zcfundsDate;

    /**
     * 支出金额（万元
     */
    @ApiModelProperty(value = "支出金额（万元")
    @TableField("zcfundsAmount")
    private String zcfundsAmount;

    /**
     * 支出类别
     */
    @ApiModelProperty(value = "支出类别")
    @TableField("zcfundsType")
    private String zcfundsType;

    /**
     * 支出编号
     */
    @ApiModelProperty(value = "支出编号")
    @TableField("zcfundsNum")
    private String zcfundsNum;

    /**
     * 横向id
     */
    @ApiModelProperty(value = "横向id")
    @TableField("tregistrationID")
    private String tregistrationID;

    /**
     * 上传时间
     */
    @ApiModelProperty(value = "上传时间")
    @TableField("uploadTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
}
